﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/WebMaster/MasterPage.master"
    CodeFile="ChatlieuAdd.aspx.cs" Theme="WebMaster" Inherits="webapp4U.UI.Article" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>   
<%@ Register Src="~/WebMaster/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>


<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
<uc:Title ID="Title1" runat="server" ResourceKey='Chatlieu_ChatlieuAdd'  />
<br />

<table width="100%" align="center">
<tr>
    <td valign="top" style="padding-top:10pt;">
        <asp:UpdatePanel ID="EmployeesUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
            
            </ContentTemplate>
        </asp:UpdatePanel>
        
             <asp:ValidationSummary runat="server" ID="valSummary" ShowMessageBox="true" ShowSummary="false" />
            <table align="center" cellpadding="7" cellspacing="0" border="0">
            <tr>
	             <td align="right">
		             <asp:Literal runat="server" ID="lTitle" Text="Chất liệu(vn)" meta:resourcekey="Title" /> : 
	             </td>
	             <td align="left">
		             <asp:TextBox ID="txtTitle" ValidationGroup="w4u_Chatlieu" MaxLength="200" runat="server" Width="250" />
		             <span class="Required">*</span>
	             </td>
            </tr>
            <tr>
	             <td align="right">
		             <asp:Literal runat="server" ID="lTitle_en" Text="Chất liệu(en)" meta:resourcekey="Title_en" /> : 
	             </td>
	             <td align="left">
		             <asp:TextBox ID="txtTitle_en" ValidationGroup="w4u_Chatlieu" MaxLength="200" runat="server" Width="250" />
	             </td>
            </tr>
            
            <tr>
                <td align="right"><b><%=ResourceManager.GetString("DisplayOrder") %>:</b></td>
                <td>
                    <asp:TextBox ID="txtOrder" Font-Bold="true" runat="server" Width="250" MaxLength="700" Text="0"></asp:TextBox>
                    <asp:RegularExpressionValidator runat="server" SetFocusOnError="true" 
                         ID="RegularExpressionValidator1" 
                         ControlToValidate="txtOrder" 
                         ValidationExpression="^(([0-9])+)$" 
                         ErrorMessage="Vị trí sắp xếp phải là kiểu số nguyên" 
                         Display="none">
                    </asp:RegularExpressionValidator>
                </td>
            </tr>
            
            <tr>
	             <td colspan="2" align="right">
		             <asp:Button runat="server" ID="btSave" Text="Save" meta:resourcekey="btSave"  OnClick="btSave_Click" />
	             </td>
            </tr>
            </table>


           <br />
           <br />
             
        
    </td>
</tr>
</table>
       
</asp:Content>